package com.daiyang.ioc.controller;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@RequestMapping("/S")
@Controller
@ResponseBody
public class UserController {
    @RequestMapping("/say")
    public String say() {
        System.out.println("UserController.say");
        return "1111";
    }
}
